home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / MacHaskell 2.2 / com / lispworks / README < prev    next >
Encoding:
Text File  |  1994-09-27  |  2.0 KB  |  44 lines  |  [TEXT/ttxt]

  1. This directory contains command scripts used for building Yale Haskell
  2. from the source distribution under Lispworks from Harlequin.  We have
  3. been using version 3.1.1 on a Sparc.
  4.  
  5. Developers need to source haskell-development instead of haskell-setup
  6. in the .cshrc file.
  7.  
  8. Important: Make sure you load the stuff in the patches directory
  9. before trying to build the system (the command files do this for you).
  10. If you're building on some platform other than a sparc, you'll have to
  11. get equivalent patches from Harlequin before proceeding.
  12.  
  13. To rebuild the system:
  14.  
  15. * You need to define environment variables Y2 and LISPWORKS to point to the
  16.   appropriate pathnames.  See the haskell-development script for details.
  17.  
  18. * Make sure that the environment variable PRELUDEBIN (in the 
  19.   haskell-setup script) points to $PRELUDE/lispworks.
  20.  
  21. * Execute the "compile" script.  This will recompile all of the Lisp 
  22.   source files that make up the Yale Haskell system.  Compiled files are
  23.   put in the "lispworks" subdirectory of each source directory.
  24.  
  25. * Execute the "build-prelude" script to compile the standard prelude.  
  26.   Note that this process tends to use up a huge amount of memory!
  27.  
  28. * Execute the "savesys" script to build a new executable.
  29.  
  30. * The new executable is initially called "bin/new-lispworks-haskell".  Try
  31.   it out.  If it works, you should rename it to "bin/lispworks-haskell".
  32.   Make sure that HASKELLPROG (in the haskell-setup script) is correct.
  33.  
  34. * If you want to build an executable with the X support, you'll also
  35.   need to run the "build-xlib" and "savesys-xlib" scripts.  You may
  36.   need to edit these scripts to load the CLX library explicitly if
  37.   you are using a Lisp executable that doesn't have CLX pre-loaded.
  38.  
  39. When you compile things with the Lispworks compiler, you'll see a
  40. bunch of messages complaining about forward references to things that
  41. haven't yet been defined.  We haven't been able to figure out how to
  42. suppress these messages, so unless something else goes wrong you should
  43. just ignore them.
  44.